package com.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 支付记录表
 * </p>
 *
 * @author sly
 * @since 2024-01-07
 */
@Getter
@Setter
@TableName("t_pay")
@ApiModel(value = "PayEntity对象", description = "支付表")
public class PayEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("支付id")
    @TableField("payId")
    private String payId;

    @ApiModelProperty("支付名")
    @TableField("payName")
    private String payName;

    @ApiModelProperty("支付金额")
    @TableField("payAmount")
    private String payAmount;

    @ApiModelProperty("封面地址")
    @TableField("payIntroduction")
    private String payIntroduction;

    @ApiModelProperty("支付结果")
    @TableField("payResult")
    private Integer payResult;

    @ApiModelProperty("创建时间")
    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty("是否删除")
    @TableField("isDel")
    private Integer isDel;
}
